package extrace.ui.domain;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.ActionBarActivity;
import android.util.Log;

import extrace.ui.main.R;

public class TrackActivity extends ActionBarActivity  implements HistoryListFragment.OnFragmentInteractionListener {


        private Intent mIntent;

        protected void onCreate(@Nullable Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
            setContentView(R.layout.activity_pkg_ex);
            mIntent = getIntent();
            String id= mIntent.getStringExtra("id");
            getSupportFragmentManager().beginTransaction().add(R.id.listfragement,HistoryListFragment.newInstance(id))
                    .commit();


        }


    @Override
    public void onFragmentInteraction(String id) {

    }
}


